function pcanelChange( id )
{
 
  //alert(id);

   if(id==1)
   {
     $("#rightPanel").attr("src","/admin/userlist");   
   }

   if(id==2)
   {
     //alert("dsdsadsad")
     $("#rightPanel").attr("src","/admin/adduser");   
   }

   if(id==3){
    $("#rightPanel").attr("src","/admin/addclass"); 
   }

   if(id==4){
    $("#rightPanel").attr("src","/admin/classlist"); 
   }

   if(id==5){

    $("#rightPanel").attr("src","/admin/addstudent");
     
   }

   if(id==6){

    $("#rightPanel").attr("src","/admin/addexam");
     
   }


}


function changemenu(){
  $("#rightPanel").attr("src","/admin/addmenu");
}

function menu(url){

  $("#rightPanel").attr("src",url);
}